#ifndef __DETOUR__LOG__H__
#define __DETOUR__LOG__H__
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include "DetourConfig.h"

#define UnityLog(acStr, ...)  Debug::L(acStr, ##__VA_ARGS__);

//create by keefor on 20190717
//C++ Call C#
class Debug {
public:
	static void(*Log)(char* message, int iSize);
	static void L(char* msg, ...);
};// C# call C++
extern "C"
{
	RECAST_API void SetupLogDelegate(void(*Log)(char* message, int iSize));
}
#endif//__DETOUR__LOG__H__